//
//  LWAddressCell.m
//  LWShopItem
//
//  Created by mac on 17/5/17.
//  Copyright © 2017年 LWShop.com. All rights reserved.
//

#import "LWAddressCell.h"

@interface LWAddressCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;


@property (weak, nonatomic) IBOutlet UITextField *nameTexf;

@end

@implementation LWAddressCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    
}

-(void)setDict:(NSDictionary *)dict {
    _dict = dict;
    [_dict enumerateKeysAndObjectsUsingBlock:^(NSString *  _Nonnull key, NSString *  _Nonnull obj, BOOL * _Nonnull stop) {
        
        _nameLabel.text = key;
        
        _nameTexf.text = obj;
        
    }];
}


@end
